<style>
	page{}
</style>

<style lang="scss" scoped>
	.root{

	}
</style>

<template>
	<view  class="root">
		<view class="c1">
			
		</view>
		<view class="u-p-30">
			<u-parse :html="html"></u-parse>
		</view>
	</view>
</template>

<script>
	import text from '@/common/js/text.js';
	let _this;
	export default {
		data() {
			return {
				html:'',
				pageData:{},
			}
		},
		watch:{
			
		},
		onLoad(e){
			_this = this;
			if(e.type == 'fwxy'){
				this.html = text.fwxy
				uni.setNavigationBarTitle({
					title:'用户协议'
				})
			}else{
				this.html = text.yszc
				uni.setNavigationBarTitle({
					title:'隐私政策'
				})
			}
		},
		methods:{
			getPageData(){
				this.xhsRequest('','post', {}).then((res)=>{
					if (res.err === 0) {
						this.pageData = res.data;
					} 
				}) 
			}
		},
		onPullDownRefresh(){

		},
	}
</script>

